package com.mycjj.android.bean;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class MessageBaseBean implements Serializable {
	private static final long serialVersionUID = 1L;
	private int code;
	private String request;
	private String msg;
	private MessageBean data;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getRequest() {
		return request;
	}

	public void setRequest(String request) {
		this.request = request;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public MessageBean getData() {
		return data;
	}

	public void setData(MessageBean data) {
		this.data = data;
	}

	@JsonIgnoreProperties(ignoreUnknown = true)
	public static class MessageBean implements Serializable {
		private static final long serialVersionUID = 1L;
		private boolean has_next_page; // 是否有下一页
		private int no_read;

		private List<MsgInfo> list;

		public boolean isHas_next_page() {
			return has_next_page;
		}

		public void setHas_next_page(boolean has_next_page) {
			this.has_next_page = has_next_page;
		}

		public int getNo_read() {
			return no_read;
		}

		public void setNo_read(int no_read) {
			this.no_read = no_read;
		}

		public List<MsgInfo> getList() {
			return list;
		}

		public void setList(List<MsgInfo> list) {
			this.list = list;
		}

		@JsonIgnoreProperties(ignoreUnknown = true)
		public static class MsgInfo implements Serializable {
			private static final long serialVersionUID = 1L;
			private int message_id;
			private int message_from_id;
			private String message_from_member;
			private String message_content;
			private String message_time;
			private boolean message_is_read;

			public int getMessage_id() {
				return message_id;
			}

			public void setMessage_id(int message_id) {
				this.message_id = message_id;
			}

			public int getMessage_from_id() {
				return message_from_id;
			}

			public void setMessage_from_id(int message_from_id) {
				this.message_from_id = message_from_id;
			}

			public String getMessage_from_member() {
				return message_from_member;
			}

			public void setMessage_from_member(String message_from_member) {
				this.message_from_member = message_from_member;
			}

			public String getMessage_content() {
				return message_content;
			}

			public void setMessage_content(String message_content) {
				this.message_content = message_content;
			}

			public String getMessage_time() {
				return message_time;
			}

			public void setMessage_time(String message_time) {
				this.message_time = message_time;
			}

			public boolean isMessage_is_read() {
				return message_is_read;
			}

			public void setMessage_is_read(boolean message_is_read) {
				this.message_is_read = message_is_read;
			}

		}
	}

}
